package com.lk.mall.controller.admin.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author Lemonade
 * @description 登录名和密码
 * @updateTime 2022/9/1 13:11
 */
@Data
@ToString
public class AdminUserLoginParam implements Serializable {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    private String userName;

    @ApiModelProperty("密码（Md5加密）")
    @NotEmpty(message = "密码不能为空")
    private String passwordMd5;

}
